# bartest = c(2,8,4)
#
# barplot(bartest)

cvd19 = c(83534,2640626,585493)

barplot(cvd19,
        main="新冠疫情条形图",
        col=c("#ED1C24","#22B14C","#FFC90E"),
        names.arg=c("中国","美国","印度"),
        family='GB1' # 中文字体需要设置字体参数 family='GB1'
)